package com.fin.quant.instra.mysql.mapper;

import com.fin.quant.instra.mysql.model.Dividend;
import com.fin.quant.instra.mysql.model.DividendExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface DividendMapper {
    long countByExample(DividendExample example);

    int deleteByExample(DividendExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Dividend record);

    int insertSelective(Dividend record);

    List<Dividend> selectByExample(DividendExample example);

    Dividend selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Dividend record, @Param("example") DividendExample example);

    int updateByExample(@Param("record") Dividend record, @Param("example") DividendExample example);

    int updateByPrimaryKeySelective(Dividend record);

    int updateByPrimaryKey(Dividend record);
}